<div class="isi">
        <?php  echo anchor("admin_pengiriman/tambah","Tambah Mitra Pengiriman","class='button' style='color:#f8f8f8'") ?>
        <table id="laporan" class="display"  >
            <thead>
                <tr>
                    <th width="5%">No</th>
                    <th width="20%">Kode Mitra Pengiriman</th>
                    <th>Nama Jenis Pengiriman</th>
                    <th width="5%">Tindakan</th>

                </tr>            
            </thead>
            <tbody>
                <?php
                $n=1;
                $img_delete=$this->lib_button->delete_icon();
                $img_update=$this->lib_button->edit_icon();                
                    foreach ($list as $data){
                        $link_hapus=  anchor('admin_pengiriman/delete/'.$data->id, $img_delete,array('onClick'=>'return confirm(\'Apa anda yakin akan menghapus data ini ?\');'));
                        $link_edit=anchor('admin_pengiriman/edit/'.$data->id, $img_update);                        
                        echo "<tr>";
                            echo "<td> $n </td>";
                            echo "<td> $data->kode_mitra </td>";
                            echo "<td> $data->nama_mitra </td>";
                            echo "<td> $link_edit  $link_hapus </td>";
                        echo "</tr>";
                        $n++;
                    }
                ?>

            </tbody>

        </table>   

    <div class="clear"></div>
</div>